package org.springblade.modules.repair.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
    * 用户扩展表
    */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_user_ext")
public class UserExt extends TenantEntity {
    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 维保公司id
     */
    @TableField(value = "maintain_company_id")
    private Long maintainCompanyId;

    /**
     * 物业公司id
     */
    @TableField(value = "estate_company_id")
    private Long estateCompanyId;

    /**
     * 物业组id
     */
    @TableField(value = "maintain_group_id")
    private Long maintainGroupId;

    /**
     * 是否为组长 0-否 1-是
     */
    @TableField(value = "group_leader")
    private Integer groupLeader;

    /**
     * 用户地址
     */
    @TableField(value = "address",updateStrategy = FieldStrategy.IGNORED)
    private String address;

    /**
     * 用户地址经度
     */
    @TableField(value = "longitude",updateStrategy = FieldStrategy.IGNORED)
    private String longitude;

    /**
     * 用户地址纬度
     */
    @TableField(value = "latitude",updateStrategy = FieldStrategy.IGNORED)
    private String latitude;

    /**
     * 交通工具
     */
    @TableField(value = "vehicle",updateStrategy = FieldStrategy.IGNORED)
    private String vehicle;

    /**
     * 是否展示用户信息 1-展示 2-不展示
     */
    @TableField(value = "show_info")
    private Integer showInfo;
}
